import requests
import json


headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/json",
    "origin": "https://www.mianshiya.com",
    "priority": "u=1, i",
    "referer": "https://www.mianshiya.com/",
    "sec-ch-ua": "\"Not)A;Brand\";v=\"99\", \"Google Chrome\";v=\"127\", \"Chromium\";v=\"127\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
}
cookies = {
    "Hm_lvt_8abb85f1b5cfd5f406cdcc6454141898": "1740034256",
    "HMACCOUNT": "9798B0F0E3BE761A",
    "Hm_lvt_c7cedf2eca8990b32ef9f1a0412e7102": "1740034256",
    "Hm_lpvt_8abb85f1b5cfd5f406cdcc6454141898": "1740039265",
    "Hm_lpvt_c7cedf2eca8990b32ef9f1a0412e7102": "1740039265"
}
url = "https://api.mianshiya.com/api/question_bank/list/page/vo"
data = {
    "current": 1,
    "pageSize": 2000
}
data = json.dumps(data, separators=(',', ':'))
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)